package autohotkeyide.autocompletion;

import org.fife.ui.autocomplete.BasicCompletion;
import org.fife.ui.autocomplete.CompletionProvider;

/**
 * @author sad
 */
public class CommandCompletion extends BasicCompletion {

    public CommandCompletion(CompletionProvider provider, String commandName, String help) {
        super(provider, commandName, null, help);
    }

    public String getCommandName() {
        return getReplacementText();
    }

    public String getCommandHelp() {
        return getSummary();
    }
}
